package com.itheima.pojo.admin.orderdto;

/**
 * @author ChenJunJie
 * @date 2022/6/18 15:14
 * 订单分页入参类
 */
public class OrderPaginationDto {
    /**
     * 开始时间
     */
    private String beginTime;
    /**
     * 结束时间
     */
    private String endTime;
    /**
     * 订单号
     */
    private String number;
    /**
     * 页数
     */
    private Integer page;
    /**
     * 每页的条数
     */
    private Integer pageSize;

    public OrderPaginationDto() {
    }

    public OrderPaginationDto(String beginTime, String endTime, String number, Integer page, Integer pageSize) {
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.number = number;
        this.page = page;
        this.pageSize = pageSize;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    @Override
    public String toString() {
        return "OrderDto{" +
                "beginTime='" + beginTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", number='" + number + '\'' +
                ", page=" + page +
                ", pageSize=" + pageSize +
                '}';
    }
}
